package main

import (
	"fmt"
)

func main10() {
	m := make(map[string]int)
	m["k1"] = 1
	m["k2"] = 2
	fmt.Println(m)

	v1 := m["k1"]
	fmt.Println(v1)
	fmt.Println(len(m))

	delete(m, "k1")
	fmt.Println(len(m), m)

	_, prs := m["k1"]
	fmt.Println(prs)

	n := map[string]int{"foo": 1, "bar": 2}
	fmt.Println("map:", n)
}
